package com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wty
 * @since 2021-11-21
 */
@Data
@Accessors(chain = true)
@TableName("shares_gdnum")
public class SharesGdnum extends Model<SharesGdnum> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String code;
    private String name;
    @TableField("holder_num")
    private String holderNum;
    @TableField("holder_num_change")
    private String holderNumChange;
    @TableField("holder_num_ratio")
    private String holderNumRatio;
    @TableField("end_date")
    private String endDate;
    @TableField("hold_notice_date")
    private String holdNoticeDate;
    @TableField("pre_end_date")
    private String preEndDate;
    @TableField("pre_holder_num")
    private String preHolderNum;
    @TableField("total_a_shares")
    private String totalAShares;
    private String f2;
    private String f3;
    @TableField("avg_hold_num")
    private String avgHoldNum;
    @TableField("avg_market_cap")
    private String avgMarketCap;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
